package com.group9.dto;

import org.springframework.web.multipart.MultipartFile;

/**
 * Created by Lcouncillor on 2020/6/6.
 */
public class Comment {

    /**
     * 一级评论id
     */
    private String resourceCommentId;
    /**
     * 资源id
     */
    private String resourceId;
    /**
     * 评分
     */
    private Integer commentStar;
    /**
     * 评价内容
     */
    private String commentContent;
    /**
     * 上传的照片
     */
    private MultipartFile commentPic;

    public String getResourceCommentId() {
        return resourceCommentId;
    }

    public void setResourceCommentId(String resourceCommentId) {
        this.resourceCommentId = resourceCommentId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getCommentStar() {
        return commentStar;
    }

    public void setCommentStar(Integer commentStar) {
        this.commentStar = commentStar;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public MultipartFile getCommentPic() {
        return commentPic;
    }

    public void setCommentPic(MultipartFile commentPic) {
        this.commentPic = commentPic;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "resourceCommentId='" + resourceCommentId + '\'' +
                ", resourceId='" + resourceId + '\'' +
                ", commentStar=" + commentStar +
                ", commentContent='" + commentContent + '\'' +
                ", commentPic=" + commentPic +
                '}';
    }
}
